package com.ichina.chat.vo;

import java.io.Serializable;

public class Robot implements Serializable {

	private Type type; // 问题类型
	private String title; // 问题标题
	private String context; // 问题答案内容
	private String code; // 问题关键字
	private int typeid; // 类型ID编号

	public int getTypeid() {
		return typeid;
	}

	public void setTypeid(int typeid) {
		this.typeid = typeid;
	}

	public Robot() {
	}

	public Robot(String title, String context, String code) {
		this.title = title;
		this.context = context;
		this.code = code;
	}

	public Robot(String title, String context, String code, int typeid) {
		super();
		this.title = title;
		this.context = context;
		this.code = code;
		this.typeid = typeid;
	}

	public Type getType() {
		return type;
	}

	public void setType(Type type) {
		this.type = type;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContext() {
		return context;
	}

	public void setContext(String context) {
		this.context = context;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public boolean equals(Object object) {
		return true;
	}

	public int hashCode() {
		return 1;
	}
}
